package minigames;

public class ParentMiniGame
        implements IMiniGame
{
    private final static IMiniGameGui NULL_GUI     = new IMiniGameGui()
                                                   {
                                                       @Override
                                                       public void refreshScreen( final IMiniGame pMiniGame )
                                                       {
                                                       }
                                                   };

    private IMiniGameGui              mMiniGameGui = NULL_GUI;

    @Override
    public String getName()
    {
        return null;
    }

    @Override
    public void setGui( IMiniGameGui pMiniGameGui )
    {
        mMiniGameGui = pMiniGameGui;

        if( pMiniGameGui == null )
        {
            mMiniGameGui = NULL_GUI;
        }
    }

    @Override
    public void startGameForClient()
    {
    }

    @Override
    public void startGameForServer()
    {
    }

    @Override
    public void stopForServer()
    {
    }

    @Override
    public void stopForClient()
    {
    }

}
